<?php

namespace Biz\model\springHomeDecActivity;

use Biz\model\advertisement\MBaseDbModel;
use Biz\pockets\modelTrait\BizModelTrait;

class MSpringHomeDecBlackList extends MBaseDbModel
{
    const _CONFIG_FILE_ = 'db_store';
    
    const _CONFIG_SELECT_ = 'db_brand_activity';
    
    const _DATABASE_ = 'brand_activity';
    
    const _TABLE_NAME = 'spring_home_dec_black_list';


    //删除字段名称
    protected static $deleteField = 'status';
    
    
    use BizModelTrait;


    public static function isBlack($uid = 0): bool
    {
        return self::dataHas(['uid' => $uid, 'status' => self::STATUS_NORMAL]);
    }
}
